#ifndef TWITTERAPI_HPP_INCLUDED
#define TWITTERAPI_HPP_INCLUDED

#include "httpLib.h"
#include "twitterException.h"

class TwitterAPI
{

public:
    TwitterAPI();
    TwitterAPI(const std::string&, const std::string&);
    TwitterAPI::TwitterAPI(const std::string&);
    ~TwitterAPI();

    const std::string& homeTimeline();
    const std::string& updateStatus(const std::string&);
    const std::string& deleteStatus(const std::string&);
    const std::string& getFollowers(const std::string&);
    const std::string& getFollowing(const std::string&);
    void setCredentials(std::string& creds);

private:

    std::string     _credentials;
    HttpLib         _http;
    HttpResponse*   _response;

};

#endif // TWITTERAPI_HPP_INCLUDED
